home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SuperHack
/
SuperHack CD.bin
/
CODING
/
PC
/
SNIP9611.ZIP
/
UNXCONIO.H
< prev
next >
Wrap
C/C++ Source or Header
|
1996-11-24
|
464b
|
23 lines
/* +++Date last modified: 02-Nov-1995 */
/*
** UNXCONIO.H - Port crucial DOS|Win|OS/2 non-blocking console I/O
** functions to Unix/Posix.
**
** public domain SNIPPETS header for use with Steve Poole's TERM_OPT.C
*/
#ifndef UNXCONIO__H
#define UNXCONIO__H
#include <stdio.h>
#include <unistd.h>
#define echo_on() term_option(0)
#define echo_off() term_option(1)
int term_option();
int getch();
#endif /* UNXCONIO__H */